package com.george.caffeine.dao.mybatis;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.george.caffeine.entity.dao.OrderDAO;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @title: OrderMapper.java
 * @description: 订单信息接口
 * @author: George
 * @date: 2023/3/20 15:09
 */
@Mapper
public interface OrderMapper extends BaseMapper<OrderDAO> {

    /**
     *  批量新增
     * @author George
     * @date  2023/3/21 10:32
      * @param orderDAOS
     * @return void
    */
    void insertBatch(@Param("list") List<OrderDAO> orderDAOS);
}
